#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time: 2024/10/24 15:55  
# @Author  : jiangwei
# @Site    : 
# @File    : pdd_caiwu_account.py  
# @Software: PyCharm
import sys
import os

BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
sys.path.append(BASE_DIR)


def get_accounts():
    """
    要采集的账号信息
    :return:
    """
    return [
        {
            "user": "17620087802",
            "pwd": "MCYPmz20190917"
        },
        {
            "user": "19157438325",
            "pwd": "Miniso20190325"
        },
        {
            "user": "13247375044",
            # "pwd": "Miniso2019"
            "pwd": ""
        },
        {
            "user": "16624712748",
            "pwd": "Tf20190416"
        },
        {
            "user": "13242824685",
            "pwd": "Miniso20190129"
        },
        {
            "user": "18903076344",
            "pwd": "Miniso2020+-"
        },
        {
            "user": "13265112541",
            "pwd": "ABCabc123"
        },
        # {
        #     "user": "17620869465",
        #     "pwd": "MC2021012@"
        # },
        {
            "user": "18127936720",  # 103店铺，名创o拼多多o名创优品个护家清旗舰店oY 17620869465 2023年11月1号开始改为这个号码
            "pwd": ""
        },
        {
            "user": "13246804501",
            "pwd": "Zz123456"
        },
        {
            "user": "19124658780",     # 2024年3月20号改号码了，之前号码  13249628679
            "pwd": "Miniso20210416"
        },
        {
            "user": "18152760593",    #  2024年1月8号改号码了，之前是13048043541
                                      #  2024年6月11号改号码了，之前是14767856426
            "pwd": "Miniso2019"
        },
        {
            "user": "19124004581",   # 200店铺，2023年4月3号开始有数据
                                     # 2024年6月11号改号码了，之前是16624758775
            "pwd": "Miniso2020+-"
        },
        {
            "user": "15598862631",  # 374店铺 2022年10月25号更改号码，之前按号码 "13631337802"
            "pwd": ""
        },
        {
            "user": "18588992245",  # 2022年8月25号通知开始重新运营
            "pwd": ""
        },
        {
            "user": "15218323013",  # 2022年9月26号通知运营：店铺：413-TTo拼多多oTOPTOY拼多多旗舰店oT
            "pwd": ""
        },
        {
            "user": "13189167680",  # 2022年10月12号通知运营：店铺：420-名创o拼多多o家居自营官方旗舰店oY
            "pwd": ""
        },
        {
            "user": "18588659750",  # 2022年10月25号通知运营：店铺：423名创o拼多多oMINISO家纺官方旗舰店oY
            "pwd": ""
        },
        {
            "user": "19124002423",  # 2022年12月1号通知运营：店铺：427潮玩店铺
            "pwd": ""
        },
        {
            "user": "18922401603",  # 2023年1月30号通知运营：店铺：437潮玩店铺
            "pwd": ""
        },
        {
            "user": "18922401416",  # 2023年3月24号通知运营：店铺：450潮玩店铺
            "pwd": ""
        },
        {
            "user": "13016049884",  # 2023年4月12号通知运营：店铺：471名创o拼多多o化妆品旗舰店oY
            "pwd": ""
        },
        # {
        #     "user": "16624734015",  # 2023年4月27号通知运营 482名创o拼多多o家居生活官方旗舰店oY，手机号码：16624734015
        #     "pwd": ""
        # },
        {
            "user": "19925704963",  # 2023年11月10号通知改号码 482拼多多店铺账号由16624734015改为19925704963
            "pwd": ""
        },
        {
            "user": "18680284350",  # 2023年5月25号通知运营 485名创o拼多多o自营家居旗舰店oY
            "pwd": ""
        },
        {
            "user": "18903074454",  # 2023年5月25号通知运营 487名创o拼多多o居家日用旗舰店oY
            "pwd": ""
        },
        # {
        #     "user": "16624623395",  # 2023年5月29号新增店铺   484名创O拼多多O名创优品美好生活旗舰店OY-16624623395
        #     "pwd": ""
        # },
        {
            "user": "18664633627",  # 2023年9月1号新增店铺    495店铺
            "pwd": ""
        },
        {
            "user": "18520037484",  # 2023年9月1号新增店铺    504店铺
            "pwd": ""
        },
        {
            "user": "19928434780",  # 2023年12月27号新增店铺    524店铺
            "pwd": ""
        },
        {
            "user": "19928410769",  # 2023年12月27号新增店铺    525店铺
            "pwd": ""
        },
        {
            "user": "19928365875",  # 2024年1月22号新增店铺    533店铺
            "pwd": ""
        },
        {
            "user": "19925744647",  # 2024年1月23号新增店铺    535店铺
            "pwd": ""
        },
        {
            "user": "18565196447",  # 2024年1月23号新增店铺    532店铺
            "pwd": ""
        },
        {
            "user": "19925799404",  # 2024年1月30号新增店铺    534店铺
            "pwd": ""
        },
        {
            "user": "19924307317",  # 2024年2月1号新增店铺    536店铺
            "pwd": ""
        },
        {
            "user": "18680262439",   # 2024年2月1号新增店铺    529店铺
            "pwd": ""
        },
        {
            "user": "19120669641",  # 2024年3月21号新增店铺    543店铺
            "pwd": ""
        },
        {
            "user": "19157453201",  # 2024年3月21号新增店铺    544店铺
            "pwd": ""
        },
        {
            "user": "19124266080",  # 2024年3月25号新增店铺    545店铺
            "pwd": ""
        },
        {
            "user": "19157401141",  # 2024年5月8号新增店铺    555店铺
            "pwd": ""
        },
        {
            "user": "19128263991",  # 2024年5月8号新增店铺    557店铺
            "pwd": ""
        },
        {
            "user": "18620420132",  # 2024年5月8号新增店铺    558店铺  20240929更新了手机号
            "pwd": ""
        },
        {
            "user": "19128696070",  # 2024年5月20号新增店铺    563店铺
            "pwd": ""
        },
        {
            "user": "19129281490",  # 2024年6月11号新增店铺    564店铺
            "pwd": ""
        },
        {
            "user": "17325823785",  # # 2024年6月25号新增店铺   582店铺
            "pwd": ""
        },
        {
            "user": "19120493520",  # 2024年6月25号新增店铺   583店铺
            "pwd": ""
        },
        {
            "user": "19128639988",  # 2024年8月30号新增店铺   591店铺
            "pwd": ""
        },
        {
            "user": "13535226600",  # 2024年8月30号新增店铺   592店铺
            "pwd": ""
        },
        {
            "user": "16624758775",  # 2024年8月30号新增店铺   593店铺
            "pwd": ""
        },
        {
            "user": "18664798116",  # 2024年8月30号新增店铺   609店铺
            "pwd": ""
        },
        {
            "user": "19124363010",  # 2024年8月30号新增店铺   610店铺
            "pwd": ""
        },
        {
            "user": "19022042263",  # 2024年8月30号新增店铺   611店铺
            "pwd": ""
        },
        {
            "user": "19022005941",  # 2024年8月30号新增店铺   612店铺
            "pwd": ""
        },
        {
            "user": "19022037509",  # 2024年8月30号新增店铺   613店铺
            "pwd": ""
        },
        {
            "user": "19022025415",  # 2024年8月30号新增店铺   614店铺
            "pwd": ""
        },
        {
            "user": "19022028491",  # 2024年8月30号新增店铺   615店铺
            "pwd": ""
        },
        {
            "user": "19022025410",  # 2024年8月30号新增店铺   616店铺
            "pwd": ""
        },
        {
            "user": "19925724043",  # 2024年8月30号新增店铺   619店铺
            "pwd": ""
        },
        {
            "user": "19927489542",  # 2024年8月30号新增店铺   618店铺  TT
            "pwd": ""
        },
        {
            "user": "16626415639",  # 2024年9月29号新增店铺    640店铺
            "pwd": ""
        },
        {
            "user": "19128913120",  # 2024年9月29号新增店铺    641店铺
            "pwd": ""
        },
        {
            "user": "19157445594",  # 2024年9月29号新增店铺    642店铺
            "pwd": ""
        },
        {
            "user": "19157447847",  # 2024年9月29号新增店铺    643店铺
            "pwd": ""
        },
        {
            "user": "19124271210",  # 2024年9月29号新增店铺    644店铺
            "pwd": ""
        },
        {
            "user": "19157464232",  # 2024年9月29号新增店铺    645店铺
            "pwd": ""
        },
        {
            "user": "19157483649",  # 2024年9月29号新增店铺    646店铺
            "pwd": ""
        },
        {
            "user": "19124008311",  # 2024年9月29号新增店铺     647店铺
            "pwd": ""
        },
        {
            "user": "19157462784",  # 2024年10月22号新增店铺     655店铺
            "pwd": ""
        },
        {
            "user": "19157404983",  # 2024年10月22号新增店铺     658店铺
            "pwd": ""
        },
        {
            "user": "19128973691",  # 2024年10月新增店铺
            "pwd": ""
        },
        # 202412新加一批店铺  8个店铺
        {
            "user": "18594986760",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18680276544",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18588572846",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18665068095",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18578673162",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18565077087",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18676623614",  # 2024年12月新增店铺
            "pwd": ""
        },
        {
            "user": "18620148779",  # 2024年12月新增店铺
            "pwd": ""
        },
        # 20241230新加一批店铺  5个店铺
        {
            "user": "13128693938",  # 2024年12月30新增店铺
            "pwd": ""
        },
        {
            "user": "18594078063",  # 2024年12月30新增店铺
            "pwd": ""
        },
        {
            "user": "13143763861",  # 2024年12月30新增店铺
            "pwd": ""
        },
        {
            "user": "13119580942",  # 2024年12月30新增店铺
            "pwd": ""
        },
        {
            "user": "13244808441",  # 2024年12月30新增店铺
            "pwd": ""
        },

        # 20250225新加一批店铺  5个店铺
        {
            "user": "14767856426",  # 2025年02月25新增店铺
            "pwd": ""
        },
        {
            "user": "13660882900",  # 2025年02月25新增店铺
            "pwd": ""
        },
        {
            "user": "13435007842",  # 2025年02月25新增店铺
            "pwd": ""
        },
        {
            "user": "15876766805",  # 2025年02月25新增店铺
            "pwd": ""
        },
        {
            "user": "13538869720",  # 2025年02月25新增店铺
            "pwd": ""
        },

        # 20250312新加一批店铺  4个店铺
        {
            "user": "18675873547",  # 2025年03月12新增店铺
            "pwd": ""
        },
        {
            "user": "18529357768",  # 2025年03月12新增店铺
            "pwd": ""
        },
        {
            "user": "13160839428",  # 2025年03月12新增店铺
            "pwd": ""
        },
        {
            "user": "17620869465",  # 2025年03月12新增店铺
            "pwd": ""
        },

        # 20250317新增一批店铺  9个店铺
        {
            "user": "15913176994",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913190761",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913192934",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913193274",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913192647",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913196285",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913196820",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913196652",  # 2025年03月17新增店铺
            "pwd": ""
        },
        {
            "user": "15913197041",  # 2025年03月17新增店铺
            "pwd": ""
        },

        {
            "user": "18529468852",  # 2025年04月03新增店铺
            "pwd": ""
        },

        # 20250430新增一批店铺  8个店铺
        {
            "user": "18620867697",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "18588992245",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913156454",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913198048",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913180593",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "19700163931",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913189057",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913194417",  # 2025年04月30新增店铺
            "pwd": ""
        },
        {
            "user": "18588524926",  # 2025年05月22新增店铺
            "pwd": ""
        },
        {
            "user": "18620868053",  # 2025年05月22新增店铺
            "pwd": ""
        },
        {
            "user": "18620869287",  # 2025年05月22新增店铺
            "pwd": ""
        },

        # 20250630新增一批店铺  13个店铺
        {
            "user": "18620828152",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520074471",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520034995",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520044863",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520056434",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520039854",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520077084",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520043292",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "18520035347",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913194437",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913194350",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913186352",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913193861",  # 2025年06月30新增店铺
            "pwd": ""
        },
        {
            "user": "15913194853",  # 2025年07月20新增店铺
            "pwd": ""
        },
        {
            "user": "15913194292",  # 2025年07月20新增店铺
            "pwd": ""
        },
        {
            "user": "18620023394",  # 2025年07月25新增店铺
            "pwd": ""
        },
        {
            "user": "18620066457",  # 2025年07月25新增店铺
            "pwd": ""
        },

        {
            "user": "18520188029",  # 2025年08月13新增店铺
            "pwd": ""
        },
        {
            "user": "18588524503",  # 2025年08月13新增店铺
            "pwd": ""
        },

    ]


def map_shop_with_user(user):
    """
    匹配店铺信息入库
    :param user:
    :return:
    """
    user = user.replace(" ", "")
    shop_dict = {
        "17620087802": "005店铺",
        # "18588992245": "032店铺",
        "19157438325": "033店铺",
        "13247375044": "035店铺",    #  "13044272036": "035店铺",2022年6月之前的号
        "16624712748": "036店铺",
        "13242824685": "037店铺",
        "18903076344": "049店铺",
        "13265112541": "068店铺",
        "18127936720": "103店铺",    # 17620869465  "103店铺"  2023年11月之前的号 名创o拼多多o名创优品个护家清旗舰店oY
        "13246804501": "152店铺",
        "19124658780": "164店铺",    # 2024年3月20号改号码， 13249628679
        # "14767856426": "029店铺",    # 2024年1月8号改号码了，之前是13048043541
        # "16624758775": "200店铺",    # 2023年4月3号又开始有数据
        "18152760593": "029店铺",    # 2024年6月11号改号码
        "19124004581": "200店铺",    # 2024年6月11号改号码
        "15598862631": "374店铺",    # 2022年7月18号新增店铺13631337802,10月25号更换手机号15598862631
        "15218323013": "413店铺",    # 2022年9月26号新增店铺, 19124002423 2022年12月1号 更改手机号15218323013
        "13189167680": "420店铺",    # 2022年10月12号新增店铺，
        "18588659750": "423店铺",    # 2022年10月25号新增店铺，
        "19124002423": "427店铺",    # 2022年12月1号新增店铺
        "18922401603": "437店铺",    # 2023年1月30号新增店铺
        "18922401416": "450店铺",    # 2023年3月24号新增店铺
        "13016049884": "471店铺",    # 2023年4月12号新增店铺  名创o拼多多o化妆品旗舰店oY
        # "16624734015": "482店铺",    # 2023年4月27号新增店铺   482名创o拼多多o家居生活官方旗舰店oY，手机号码：16624734015
        "19925704963": "482店铺",
        "18680284350": "485店铺",    # 2023年5月25号新增店铺   485名创o拼多多o自营家居旗舰店oY-18680284350
        "18903074454": "487店铺",    # 2023年5月25号新增店铺   487名创o拼多多o居家日用旗舰店oY-18903074454
        # "16624623395": "484店铺",    # 2023年5月29号新增店铺   484名创O拼多多O名创优品美好生活旗舰店OY-16624623395
        "18664633627": "495店铺",    # 2023年9月1号新增店铺
        "18520037484": "504店铺",    # 2023年9月1号新增店铺
        "19928434780": "524店铺",           # 2023年12月27号新增店铺    名创优品母婴玩具旗舰店
        "19928410769": "525店铺",    # # 2024年1月1号新增店铺    名创o拼多多oMINISO家居好物旗舰店oY
        "19928365875": "533店铺",  # # 2024年1月22号新增店铺    名创O拼多多O名创优品婴童官方旗舰店OY
        "19925744647": "535店铺",  # # 2024年1月23号新增店铺    名创O拼多多OMINISO家居百货旗舰店OY
        "18565196447": "532店铺",  # # 2024年1月23号新增店铺    名创o拼多多oMINISO婴童用品旗
        "19925799404": "534店铺",  # # 2024年1月30号新增店铺    名创O拼多多O名创优品生活百货
        "19924307317": "536店铺",  # # 2024年2月1号新增店铺     名创O拼多多OMINISO家清官方旗舰店OY，手机号：19924307317
        "18680262439": "529店铺",  # 店铺代码：529，店铺名称：名创o拼多多oMINISO母婴玩具官方旗舰店
        "19120669641": "543店铺",  # 2024年3月21号新增店铺 店铺代码：543，店铺名称：名创O拼多多O名创优品家居洗护官方旗舰店OY
        "19157453201": "544店铺",  # 2024年3月25号新增店铺 店铺代码：544   名创O拼多多OMINISO香氛旗舰店OY
        "19124266080": "545店铺",  # 2024年3月25号新增店铺 店铺代码：545   名创O拼多多OMINISO旗舰店OY
        "19157401141": "555店铺",  # 2024年5月8号新增店铺  店铺名称：名创o拼多多o名创优品MINISO家居优选旗舰店oY，
        "19128263991": "557店铺",  # 2024年5月8号新增店铺  名创o拼多多oMINISO生活用品旗舰店oY，
        "18620420132": "558店铺",  # 2024年5月8号新增店铺  名创o拼多多o名创优品MINISO动漫旗舰店oY，   20240929更新了手机号
        "19128696070": "563店铺",  # 2024年5月20号新增店铺
        "19129281490": "564店铺",  # 2024年6月11号新增店铺
        "17325823785": "582店铺",  # 2024年6月25号新增店铺
        "19120493520": "583店铺",  # 2024年6月25号新增店铺
        "19128639988": "591店铺",  # 2024年8月30号新增店铺
        "13535226600": "592店铺",  # 2024年8月30号新增店铺
        "16624758775": "593店铺",  # 2024年8月30号新增店铺
        "18664798116": "609店铺",  # 2024年8月30号新增店铺
        "19124363010": "610店铺",  # 2024年8月30号新增店铺
        "19022042263": "611店铺",  # 2024年8月30号新增店铺
        "19022005941": "612店铺",  # 2024年8月30号新增店铺
        "19022037509": "613店铺",  # 2024年8月30号新增店铺
        "19022025415": "614店铺",  # 2024年8月30号新增店铺
        "19022028491": "615店铺",  # 2024年8月30号新增店铺
        "19022025410": "616店铺",  # 2024年8月30号新增店铺
        "19925724043": "619店铺",  # 2024年8月30号新增店铺
        "19927489542": "618店铺",  # 2024年8月30号新增店铺 TT电商拼多多新店
        "16626415639": "640店铺",   # 20240929新增店铺
        "19128913120": "641店铺",  # 20240929新增店铺
        "19157445594": "642店铺",  # 20240929新增店铺
        "19157447847": "643店铺",  # 20240929新增店铺
        "19124271210": "644店铺",  # 20240929新增店铺
        "19157464232": "645店铺",  # 20240929新增店铺
        "19157483649": "646店铺",  # 20240929新增店铺
        "19124008311": "647店铺",  # 20240929新增店铺
        # 20241022修正店铺  涉及642 / 643 / 645 / 646店 我对好更新上去了哈 642 / 646上个月没数据的
        "19128973691": "651店铺",  # 20241011新增店铺
        "19157462784": "655店铺",   # 20241022新增店铺
        "19157404983": "658店铺",   # 20241022新增店铺

        # 20241226新加8个店铺
        "18594986760": "684店铺",  # 20241226新增店铺
        "18680276544": "685店铺",  # 20241226新增店铺
        "18588572846": "687店铺",  # 20241226新增店铺
        "18665068095": "688店铺",  # 20241226新增店铺
        "18578673162": "689店铺",  # 20241226新增店铺
        "18565077087": "690店铺",  # 20241226新增店铺
        "18676623614": "691店铺",  # 20241226新增店铺
        "18620148779": "692店铺",  # 20241226新增店铺

        # 20241230新加一批店铺  5个店铺
        "13128693938": "695店铺",  # 20241230新增店铺
        "18594078063": "696店铺",  # 20241230新增店铺
        "13143763861": "706店铺",  # 20241230新增店铺
        "13119580942": "707店铺",  # 20241230新增店铺
        "13244808441": "708店铺",  # 20241230新增店铺

        # 20250225新加一批店铺  5个店铺
        "14767856426": "715店铺",  # 20250225新增店铺
        "13660882900": "718店铺",  # 20250225新增店铺
        "13435007842": "719店铺",  # 20250225新增店铺
        "15876766805": "721店铺",  # 20250225新增店铺
        "13538869720": "722店铺",  # 20250225新增店铺

        # 20250312新加一批店铺  4个店铺
        "18675873547": "725店铺",  # 20250312新增店铺
        "18529357768": "726店铺",  # 20250312新增店铺
        "13160839428": "727店铺",  # 20250312新增店铺
        "17620869465": "732店铺",  # 20250312新增店铺

        # 20250317新增一批店铺  9个店铺
        "15913176994": "746店铺",  # 20250317新增店铺
        "15913190761": "745店铺",  # 20250317新增店铺
        "15913192934": "744店铺",  # 20250317新增店铺
        "15913193274": "743店铺",  # 20250317新增店铺
        "15913192647": "742店铺",  # 20250317新增店铺
        "15913196285": "741店铺",  # 20250317新增店铺
        "15913196820": "740店铺",  # 20250317新增店铺
        "15913196652": "739店铺",  # 20250317新增店铺
        "15913197041": "738店铺",  # 20250317新增店铺

        "18529468852": '694店铺',  # 20250403新增店铺

        # 20250430新增一批店铺  8个店铺
        "18620867697": "754店铺",  # 20250430新增店铺
        "18588992245": "756店铺",  # 20250430新增店铺
        "15913156454": "757店铺",  # 20250430新增店铺
        "15913198048": "760店铺",  # 20250430新增店铺
        "15913180593": "761店铺",  # 20250430新增店铺
        "19700163931": "762店铺",  # 20250430新增店铺
        "15913189057": "763店铺",  # 20250430新增店铺
        "15913194417": "764店铺",  # 20250430新增店铺

        # 20250522新增一批店铺  3个店铺
        "18588524926": "748店铺",  # 20250522新增店铺
        "18620868053": "769店铺",  # 20250522新增店铺
        "18620869287": "770店铺",  # 20250522新增店铺

        # 20250630新增一批店铺  13个店铺
        "18620828152": "771店铺",  # 20250630新增店铺

        "18520074471": "789店铺",  # 20250630新增店铺
        "18520034995": "788店铺",  # 20250630新增店铺
        "18520044863": "787店铺",  # 20250630新增店铺
        "18520056434": "786店铺",  # 20250630新增店铺
        "18520039854": "785店铺",  # 20250630新增店铺

        "18520077084": "801店铺",  # 20250630新增店铺
        "18520043292": "802店铺",  # 20250630新增店铺
        "18520035347": "803店铺",  # 20250630新增店铺

        "15913194437": "805店铺",  # 20250630新增店铺
        "15913194350": "806店铺",  # 20250630新增店铺
        "15913186352": "807店铺",  # 20250630新增店铺
        "15913193861": "808店铺",  # 20250630新增店铺

        "15913194853": "818店铺",  # 20250720新增店铺
        "15913194292": "819店铺",  # 20250720新增店铺

        "18620023394": "798店铺",  # 20250725新增店铺
        "18620066457": "799店铺",  # 20250725新增店铺

        "18520188029": "772店铺",  # 20250813新增店铺
        "18588524503": "826店铺",  # 20250813新增店铺
    }

    return shop_dict[user]


def init_zeqin_cookie(user):
    """
    获取子账号信息，进而获取cookie的pkl文件
    # http://10.230.5.4:9185/zeqin.lin/pdd_spider/blob/master/accounts.json
    :param user:
    :return:
    """
    accounts = {
        "19157438325": {"password": "PddMiniso644", "shop_name": "MINISO官方旗舰店", "oms_id": "033", "sub_username": "拼多多渠道:平台数据拉取", "sub_password": "Miniso123456"},
        "18903074454": {"password": "PddMiniso123", "shop_name": "名创优品居家日用旗舰店", "oms_id": "487", "sub_username": "居家日用:平台数据拉取", "sub_password": "Miniso1234"},
        "18127936720": {"password": "MC2021012@1", "shop_name": "MINISO名创优品个护家清旗舰店", "oms_id": "103", "sub_username": "拼多多渠道个护家清旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18152760593": {"password": "Miniso2019@", "shop_name": "名创优品家居旗舰店", "oms_id": "029", "sub_username": "拼多多渠道家居专营旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "16624712748": {"password": "Miniso2023065", "shop_name": "MINISO名创优品家居生活旗舰店", "oms_id": "036", "sub_username": "拼多多渠道:家居生活平台数据拉取", "sub_password": "Miniso1234"},
        "13189167680": {"password": "Miniso@1234", "shop_name": "MINISO家居官方旗舰店", "oms_id": "420", "sub_username": "家居旗舰店:数据", "sub_password": "Miniso1234"},
        "17620087802": {"password": "Miniso.54321", "shop_name": "MINISO名创优品美妆旗舰店", "oms_id": "005", "sub_username": "美妆旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "13242824685": {"password": "Pdd13242824685.", "shop_name": "名创优品官方旗舰店", "oms_id": "037", "sub_username": "家居生活专卖店:平台数据拉取", "sub_password": "Miniso1234"},
        "18588659750": {"password": "Pdd18588659750", "shop_name": "MINISO家纺官方旗舰店", "oms_id": "423", "sub_username": "家纺官方店:平台数据拉取", "sub_password": "Miniso1234"},
        "13265112541": {"password": "ABCabc123", "shop_name": "MINISO名创优品母婴旗舰店", "oms_id": "068", "sub_username": "拼多多渠道母婴旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18680284350": {"password": "Miniso-4350", "shop_name": "名创优品MINISO家居官方旗舰店", "oms_id": "485", "sub_username": "拼多多渠道485家居旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "16624623395": {"password": "Miniso.0508", "shop_name": "名创优品美好生活旗舰店", "oms_id": "484"},
        "13246804501": {"password": "Hf12345..", "shop_name": "名创优品护肤官方旗舰店", "oms_id": "152", "sub_username": "护肤旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        # "18588992245": {"password": "Miniso666", "shop_name": "MINISO名创优品零食旗舰店", "oms_id": "032", "sub_username": "拼多多渠道零食旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18520037484": {"password": "Miniso@7484", "shop_name": "名创优品MINISO模玩官方旗舰店", "oms_id": "504", "sub_username": "拼多多渠道模玩玩具旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18664633627": {"password": "Miniso123456", "shop_name": "MINISO模玩官方旗舰店", "oms_id": "495", "sub_username": "拼多多渠道模玩官方旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19925704963": {"password": "Miniso-4015", "shop_name": "名创优品MINISO家居生活官方旗舰店", "oms_id": "482", "sub_username": "拼多多渠道家居生活旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "13016049884": {"password": "Miniso@9884", "shop_name": "名创优品MINISO化妆品旗舰店", "oms_id": "471", "sub_username": "化妆品旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "13247375044": {"password": "Miniso2019", "shop_name": "Miniso家纺家具旗舰店", "oms_id": "035", "sub_username": "家纺家具:平台数据拉取", "sub_password": "Miniso1234"},
        "19124658780": {"password": "Miniso20210416", "shop_name": "名创优品餐饮具旗舰店", "oms_id": "164", "sub_username": "拼多多渠道餐饮具店:平台数据拉取", "sub_password": "Miniso1234"},
        "18903076344": {"password": "Miniso2020+-", "shop_name": "MINISO名创优品旗舰店", "oms_id": "049", "sub_username": "拼多多渠道车品店:平台数据拉取", "sub_password": "Miniso1234"},
        "15598862631": {"password": "134655Miniso", "shop_name": "家居官方旗舰店", "oms_id": "374", "sub_username": "374家居官方旗舰店平台数据拉取", "sub_password": "Miniso1234"},
        "19928434780": {"password": "Miniso1234@", "shop_name": "名创优品MINISO母婴玩具旗舰店", "oms_id": "524", "sub_username": "拼多多渠道:母婴玩具平台数据拉取", "sub_password": "Miniso1234"},
        "19928410769": {"password": "Miniso2023", "shop_name": "MINISO名创优品家居好物旗舰店", "oms_id": "525", "sub_username": "拼多多渠道家居好物旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18565196447": {"password": "Miniso-6447", "shop_name": "名创优品MINISO婴童用品官方旗舰店", "oms_id": "532", "sub_username": "拼多多渠道婴童用品旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19928365875": {"password": "Miniso1234.", "shop_name": "名创优品婴童官方旗舰店", "oms_id": "533", "sub_username": "拼多多渠道:婴童平台数据拉取", "sub_password": "Miniso1234"},
        "19925799404": {"password": "Miniso2024M", "shop_name": "名创优品生活百货旗舰店", "oms_id": "534", "sub_username": "生活百货:平台数据拉取", "sub_password": "Miniso1234"},
        "19925744647": {"password": "Miniso2024", "shop_name": "名创优品MINISO家居百货旗舰店", "oms_id": "535", "sub_username": "拼多多渠道家居百货旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19924307317": {"password": "miniso123.", "shop_name": "MINISO名创优品家清官方旗舰店", "oms_id": "536", "sub_username": "家清官方店:平台数据拉取", "sub_password": "Miniso1234"},
        "19120669641": {"password": "Miniso1234.", "shop_name": "名创优品家居洗护官方旗舰店", "oms_id": "543", "sub_username": "拼多多渠道家居洗护旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19157453201": {"password": "Miniso-3201", "shop_name": "名创优品MINISO香氛旗舰店", "oms_id": "544", "sub_username": "拼多多渠道香氛旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19124266080": {"password": "Miniso2024M", "shop_name": "MINISO旗舰店", "oms_id": "545", "sub_username": "MINISO旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19124004581": {"password": "Miniso2020+-", "shop_name": "MINISO名创优品美容工具旗舰店", "oms_id": "200", "sub_username": "拼多多渠道美容工具旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19157401141": {"password": "Miniso2024@", "shop_name": "名创优品MINISO家居优选旗舰店", "oms_id": "555", "sub_username": "拼多多渠道家居优选旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19128263991": {"password": "Miniso.8888", "shop_name": "MINISO生活用品旗舰店", "oms_id": "557", "sub_username": "拼多多渠道生活用品旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18620420132": {"password": "Miniso.1234", "shop_name": "名创优品MINISO动漫旗舰店", "oms_id": "558", "sub_username": "动漫旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19128696070": {"password": "miniso123.", "shop_name": "MINISO名创优品官方旗舰店", "oms_id": "563", "sub_username": "官方旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "19129281490": {"password": "Miniso.6666", "shop_name": "MINISO创意家居旗舰店", "oms_id": "564", "sub_username": "创意家居:平台数据拉取", "sub_password": "Miniso1234"},
        "18680262439": {"password": "134655Miniso", "shop_name": "MINISO名创优品母婴玩具官方旗舰店", "oms_id": "529", "sub_username": "529母婴玩具官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "名创优品运动旗舰店商务部1": {"password": "dada001!!", "shop_name": "名创优品运动旗舰店", "sub_username": "名创优品运动旗舰店商务部1", "sub_password": "dada001!!", "oms_id": ""},
        "19022042263": {"password": "Miniso2263", "shop_name": "名创优品家居生活用品旗舰店", "oms_id": "611", "sub_username": "家居生活用品:平台数据拉取", "sub_password": "Miniso123456"},
        "19022028491": {"password": "Miniso2024..", "shop_name": "名创优品MINISO盲盒手办旗舰店", "oms_id": "615", "sub_username": "盲盒手办:平台数据拉取", "sub_password": "Miniso123456"},
        "19022025410": {"password": "Miniso5410", "shop_name": "名创优品MINISO家庭生活旗舰店", "oms_id": "616", "sub_username": "家庭生活:平台数据拉取", "sub_password": "Miniso123456"},
        "19124363010": {"password": "Miniso2024M", "shop_name": "名创优品家居用品旗舰店", "oms_id": "610", "sub_username": "家居用品:平台数据拉取", "sub_password": "Miniso123456"},
        "19022037509": {"password": "Miniso1234.", "shop_name": "名创优品MINISO家居日用旗舰店", "oms_id": "613", "sub_username": "家居日用:平台数据拉取", "sub_password": "Miniso1234."},
        "19022005941": {"password": "Miniso1234.", "shop_name": "名创优品生活洗护官方旗舰店", "oms_id": "612", "sub_username": "生活洗护平台数据拉取", "sub_password": "Miniso1234."},
        "19022025415": {"password": "miniso123.", "shop_name": "名创优品生活家居官方旗舰店", "oms_id": "614", "sub_username": "生活家居平台数据拉取", "sub_password": "Miniso123456"},
        "19925724043": {"password": "Miniso-4043", "shop_name": "名创优品MINISO毛绒玩具旗舰店", "oms_id": "619", "sub_username": "毛绒玩具平台数据拉取", "sub_password": "Miniso-6483"},
        "17325823785": {"password": "134655Miniso", "shop_name": "MINISO名创优品个护官方旗舰店", "oms_id": "582", "sub_username": "582个护官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "19120493520": {"password": "134655Miniso", "shop_name": "MINISO名创优品家居生活官方旗舰店", "oms_id": "583", "sub_username": "583家居生活官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "13535226600": {"password": "134655Miniso", "shop_name": "miniso名创优品居家布艺官方旗舰店", "oms_id": "592", "sub_username": "592居家布艺官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "16624758775": {"password": "134655Miniso", "shop_name": "miniso名创优品彩妆官方旗舰店", "oms_id": "593", "sub_username": "593彩妆官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "19128639988": {"password": "134655Miniso", "shop_name": "miniso名创优品居家生活官方旗舰店", "oms_id": "591", "sub_username": "潘舒萍子账号", "sub_password": "123456Miniso@"},
        "18664798116": {"password": "134655Miniso", "shop_name": "名创优品玩具官方旗舰店", "oms_id": "609", "sub_username": "609玩具官方旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "16626415639": {"password": "asd123456...", "shop_name": "名创优品美妆工具旗舰店", "oms_id": "640", "sub_username": "名创美妆工具旗舰店平台数据", "sub_password": "Miniso123"},
        "19128913120": {"password": "Miniso123456", "shop_name": "名创优品日用百货官方旗舰店", "oms_id": "641", "sub_username": "日用百货:平台数据拉取", "sub_password": "Miniso1234"},
        "19157483649": {"password": "Miniso111477", "shop_name": "名创优品收纳用具旗舰店", "oms_id": "646", "sub_username": "收纳用具平台数据拉取", "sub_password": "Miniso1833"},
        "19157464232": {"password": "Miniso20241", "shop_name": "名创优品百货用品旗舰店", "oms_id": "645", "sub_username": "名创百货用品旗舰店平台数据", "sub_password": "Miniso123"},
        "19124271210": {"password": "Miniso123456", "shop_name": "名创优品纸品官方旗舰店", "oms_id": "644", "sub_username": "平台数据拉取", "sub_password": "Miniso123456"},
        "19157447847": {"password": "Miniso78489", "shop_name": "名创优品家庭清洁旗舰店", "oms_id": "643", "sub_username": "家庭清洁旗舰店平台数据拉取", "sub_password": "MINGchuang888"},
        "19157445594": {"password": "Miniso738494", "shop_name": "名创优品家居清洁用品旗舰店", "oms_id": "642", "sub_username": "家具清洁用品旗舰店平台数据拉取", "sub_password": "MINGchuang888"},
        "19124008311": {"password": "Miniso67388", "shop_name": "名创优品MINISO家清收纳官方旗舰店", "oms_id": "647", "sub_username": "家清收纳旗舰店平台数据拉取", "sub_password": "MINGchuang888"},
        "15218323013": {"password": "", "shop_name": "TOPTOY官方旗舰店", "oms_id": "413", "sub_username": "TOPTOY官方旗舰店财务", "sub_password": "Aa13672478761"},
        "19124002423": {"password": "", "shop_name": "TOPTOY积木旗舰店", "oms_id": "427", "sub_username": "TOPTOY积木旗舰店财务", "sub_password": "Aa13672478761"},
        "18922401603": {"password": "", "shop_name": "TOPTOY模玩旗舰店", "oms_id": "437", "sub_username": "TOPTOY模玩旗舰店财务", "sub_password": "Aa13672478761"},
        "18922401416": {"password": "", "shop_name": "TOPTOY手办旗舰店", "oms_id": "450", "sub_username": "TOPTOY手办旗舰店财务", "sub_password": "Aa13672478761"},
        "19927489542": {"password": "", "shop_name": "头号潮玩玩具店", "oms_id": "618", "sub_username": "头号潮玩玩具店财务", "sub_password": "Aa13672478761"},
        "19128973691": {"password": "", "shop_name": "TOPTOY玩具店", "oms_id": "651", "sub_username": "TOPTOY玩具店财务", "sub_password": "Aa13672478761"},
        "19157462784": {"password": "Miniso23748", "shop_name": "名创优品MINISO日用品旗舰店", "oms_id": "655", "sub_username": "日用旗舰店平台数据拉取", "sub_password": "MINGchuang888"},
        "19157404983": {"password": "Miniso123456", "shop_name": "名创优品MINISO家居日用官方旗舰店", "oms_id": "658", "sub_username": "家居日用:平台数据拉取11", "sub_password": "Miniso1234"},
        # 20241226新加8个店铺
        "18594986760": {"password": "", "shop_name": "MINISO内衣睡衣家居旗舰店", "oms_id": "684", "sub_username": "内衣睡衣平台数据拉取", "sub_password": "Miniso67601"},
        "18680276544": {"password": "", "shop_name": "名创优品MINISO官方旗舰店", "oms_id": "685", "sub_username": "官方旗舰店平台数据拉取", "sub_password": "Miniso6544111"},
        "18588572846": {"password": "", "shop_name": "名创优品MINISO袜子旗舰店", "oms_id": "687", "sub_username": "名创优品袜子旗舰店平台数据", "sub_password": "Miniso123"},
        "18665068095": {"password": "", "shop_name": "名创优品MINISO裤袜旗舰店", "oms_id": "688", "sub_username": "名创裤袜旗舰店平台数据", "sub_password": "Miniso123"},
        "18578673162": {"password": "", "shop_name": "名创优品内衣裤袜旗舰店", "oms_id": "689", "sub_username": "名创内衣裤袜旗舰店平台数据", "sub_password": "Miniso123"},
        "18565077087": {"password": "", "shop_name": "名创优品MINISO服饰旗舰店", "oms_id": "690", "sub_username": "服饰旗舰店平台数据拉取", "sub_password": "Miniso7087333"},
        "18676623614": {"password": "", "shop_name": "名创优品居家服生活旗舰店", "oms_id": "691", "sub_username": "居家服旗舰店平台数据拉取", "sub_password": "Miniso87796"},
        "18620148779": {"password": "", "shop_name": "名创优品MINISO服装旗舰店", "oms_id": "692", "sub_username": "服装旗舰店平台数据拉取", "sub_password": "Miniso8779.11"},

        # 20241230新加5个店铺
        "13128693938": {"password": "", "shop_name": "名创优品生活日用官方旗舰店", "oms_id": "695", "sub_username": "生活日用官方旗舰店:平台数据拉取", "sub_password": "Miniso12345"},
        "18594078063": {"password": "", "shop_name": "名创优品家居百货官方旗舰店", "oms_id": "696", "sub_username": "名创优品家居百货官方旗舰店:平台数据拉取1", "sub_password": "Miniso12345"},
        "13143763861": {"password": "", "shop_name": "名创优品MINISO模玩手办旗舰店", "oms_id": "706", "sub_username": "名创优品模玩手办旗舰店:平台数据拉取", "sub_password": "Miniso-0420"},
        "13119580942": {"password": "", "shop_name": "名创优品MINISO玩具精选旗舰店", "oms_id": "707", "sub_username": "名创优品玩具精选旗舰店:平台数据拉取", "sub_password": "Miniso-0420"},
        "13244808441": {"password": "", "shop_name": "名创优品MINISO玩具官方旗舰店", "oms_id": "708", "sub_username": "名创优品玩具官方旗舰店:平台数据", "sub_password": "Miniso-6483"},

        # 20250225新加5个店铺
        "14767856426": {"password": "", "shop_name": "名创优品自营MINISO家居生活旗舰店", "oms_id": "715", "sub_username": "715名创O自营O拼多多OMINISO家居生活旗舰店", "sub_password": "Miniso123"},
        "13660882900": {"password": "", "shop_name": "名创优品自营家清日用旗舰店", "oms_id": "718", "sub_username": "718家清日用_平台数据拉取", "sub_password": "Miniso1234"},
        "13435007842": {"password": "", "shop_name": "名创优品自营美妆个护旗舰店", "oms_id": "719", "sub_username": "719美妆个护旗舰店_平台数据拉取", "sub_password": "Miniso1234"},
        "15876766805": {"password": "", "shop_name": "名创优品自营MINISO母婴玩具旗舰店", "oms_id": "721", "sub_username": "721名创o自营o拼多多o母婴玩具旗舰店oY", "sub_password": "Miniso1234"},
        "13538869720": {"password": "", "shop_name": "名创优品自营MINISO美容个护旗舰店", "oms_id": "722", "sub_username": "722名创o自营o拼多多o美容个护旗舰店oY", "sub_password": "Miniso1234"},

        # 20250312新加4个店铺
        "18675873547": {"password": "", "shop_name": "名创优品自营家居日常旗舰店", "oms_id": "725", "sub_username": "家居服平台数据", "sub_password": "Miniso1234."},
        "18529357768": {"password": "", "shop_name": "名创优品自营生活服装官方旗舰店", "oms_id": "726", "sub_username": "生活服装平台数据", "sub_password": "Miniso1234."},
        "13160839428": {"password": "", "shop_name": "名创优品自营家居服饰旗舰店", "oms_id": "727", "sub_username": "家居服饰平台数据", "sub_password": "Miniso1234."},
        "17620869465": {"password": "", "shop_name": "名创优品自营名创优品MINISO旗舰店", "oms_id": "732", "sub_username": "旗舰店平台数据11", "sub_password": "Miniso123456..11"},

        # 20250317新增9个店铺
        "15913176994": {"password": "", "shop_name": "名创优品自营居家日用官方旗舰店", "oms_id": "746","sub_username": "746_平台数据拉取1", "sub_password": "Miniso1234"},
        "15913190761": {"password": "", "shop_name": "名创优品自营创意家居官方旗舰店", "oms_id": "745","sub_username": "745_平台数据拉取2", "sub_password": "Miniso1234"},
        "15913192934": {"password": "", "shop_name": "名创优品自营创意礼品官方旗舰店", "oms_id": "744","sub_username": "744_平台数据拉取1", "sub_password": "Miniso1234"},
        "15913193274": {"password": "", "shop_name": "名创优品自营母婴洗护官方旗舰店", "oms_id": "743","sub_username": "743_平台数据拉取", "sub_password": "Miniso1234"},
        "15913192647": {"password": "", "shop_name": "名创优品自营益智玩具官方旗舰店", "oms_id": "742","sub_username": "742_平台数据拉取", "sub_password": "Miniso1234"},
        "15913196285": {"password": "", "shop_name": "名创优品自营日用百货官方旗舰店", "oms_id": "741","sub_username": "741_平台数据拉取1", "sub_password": "Miniso1234"},
        "15913196820": {"password": "", "shop_name": "名创优品自营居家百货官方旗舰店", "oms_id": "740","sub_username": "740_平台数据拉取1", "sub_password": "Miniso1234"},
        "15913196652": {"password": "", "shop_name": "名创优品自营模玩旗舰店", "oms_id": "739","sub_username": "739_平台数据拉取1", "sub_password": "Miniso1234"},
        "15913197041": {"password": "", "shop_name": "名创优品自营动漫旗舰店", "oms_id": "738","sub_username": "738_平台数据拉取1", "sub_password": "Miniso1234"},

        # 20250403新增1个店铺
        "18529468852": {"password": "", "shop_name": "名创优品居家用品旗舰店", "oms_id": "694", "sub_username": "694居家用品_平台数据拉取", "sub_password": "Miniso1234"},

        # 20250430新增8个店铺
        "18620867697": {"password": "", "shop_name": "名创优品自营美妆护肤官方旗舰店", "oms_id": "754","sub_username": "名创优品MINISO美妆护肤官方旗舰店:数据", "sub_password": "Miniso@123"},
        "18588992245": {"password": "", "shop_name": "名创优品自营家居精选旗舰店", "oms_id": "756","sub_username": "756_平台数据拉取", "sub_password": "Miniso1234"},
        "15913156454": {"password": "", "shop_name": "名创优品旗舰店", "oms_id": "757","sub_username": "757_平台数据拉取", "sub_password": "Miniso1234"},
        "15913198048": {"password": "", "shop_name": "名创优品自营个护官方旗舰店", "oms_id": "760","sub_username": "760_平台数据拉取", "sub_password": "Miniso1234"},
        "15913180593": {"password": "", "shop_name": "名创优品自营居家洗护官方旗舰店", "oms_id": "761","sub_username": "761_平台数据拉取", "sub_password": "Miniso1234"},
        "19700163931": {"password": "", "shop_name": "名创优品自营彩妆个护官方旗舰店", "oms_id": "762","sub_username": "762_平台数据拉取", "sub_password": "Miniso1234"},
        "15913189057": {"password": "", "shop_name": "名创优品自营家居香氛官方旗舰店", "oms_id": "763","sub_username": "763_平台数据拉取", "sub_password": "Miniso1234"},
        "15913194417": {"password": "", "shop_name": "名创优品Miniso美容美发官方旗舰店", "oms_id": "764", "sub_username": "764_平台数据拉取", "sub_password": "Miniso1234"},

        # 20250522新增3个店铺
        "18588524926": {"password": "", "shop_name": "名创优品自营生活旗舰店", "oms_id": "748", "sub_username": "名创优品包袋数据拉取", "sub_password": "Miniso123654.11"},
        "18620868053": {"password": "", "shop_name": "名创优品服饰内衣旗舰店", "oms_id": "769", "sub_username": "内衣服饰_平台数据拉取", "sub_password": "Miniso1234."},
        "18620869287": {"password": "", "shop_name": "名创优品家居服装旗舰店", "oms_id": "770", "sub_username": "户外服饰_平台数据拉取", "sub_password": "Miniso1234."},

        # 20250630新增13个店铺
        "18620828152": {"password": "", "shop_name": "名创优品箱包配饰旗舰店", "oms_id": "771", "sub_username": "箱包配饰旗舰店数据拉取", "sub_password": "Miniso2815211"},
        "18520074471": {"password": "", "shop_name": "MINISO名创优品个护旗舰", "oms_id": "789", "sub_username": "个护旗舰:平台数据拉取", "sub_password": "Miniso1234"},
        "18520034995": {"password": "", "shop_name": "名创优品口腔清洁官方旗舰", "oms_id": "788", "sub_username": "口腔清洁:平台数据拉取", "sub_password": "Miniso1234"},
        "18520044863": {"password": "", "shop_name": "名创优品洗护官方旗舰", "oms_id": "787", "sub_username": "洗护旗舰:平台数据拉取", "sub_password": "Miniso1234"},
        "18520056434": {"password": "", "shop_name": "MINISO名创优品户外旅行官方旗舰店", "oms_id": "786", "sub_username": "户外旅行:平台数据拉取", "sub_password": "Miniso1234"},
        "18520039854": {"password": "", "shop_name": "MINISO名创优品孕婴用品旗舰店", "oms_id": "785", "sub_username": "孕婴用品:平台数据拉取", "sub_password": "Miniso1234"},
        "18520077084": {"password": "", "shop_name": "创优品生活彩妆旗舰店", "oms_id": "801", "sub_username": "生活彩妆旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18520043292": {"password": "", "shop_name": "创优品生活彩妆旗舰店", "oms_id": "802", "sub_username": "收纳生活旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "18520035347": {"password": "", "shop_name": "名创优品家居美妆生活旗舰店", "oms_id": "803", "sub_username": "家居生活旗舰店:平台数据拉取", "sub_password": "Miniso1234"},
        "15913194437": {"password": "", "shop_name": "MINISO名创优品香薰官方旗舰店", "oms_id": "805", "sub_username": "805_平台数据拉取", "sub_password": "Miniso1234"},
        "15913194350": {"password": "", "shop_name": "Miniso化妆品旗舰店", "oms_id": "806", "sub_username": "806_平台数据拉取", "sub_password": "Miniso1234"},
        "15913186352": {"password": "", "shop_name": "Miniso名创优品美容个护旗舰店", "oms_id": "807", "sub_username": "807_平台数据拉取", "sub_password": "Miniso1234"},
        "15913193861": {"password": "", "shop_name": "MINISO日用品官方旗舰店", "oms_id": "808", "sub_username": "808_平台数据拉取", "sub_password": "Miniso1234"},

        # 2025-07-20新加店铺
        "15913194853": {"password": "", "shop_name": "MINISO名创优品创意家居旗舰店", "oms_id": "818", "sub_username": "818_平台数据拉取", "sub_password": "Miniso1234"},
        "15913194292": {"password": "", "shop_name": "MINISO名创优品母婴玩具旗舰店 ", "oms_id": "819", "sub_username": "819_平台数据拉取", "sub_password": "Miniso1234"},

        # 2025-07-25新加店铺
        "18620023394": {"password": "", "shop_name": "名创优品MINISO香氛官方旗舰店", "oms_id": "798", "sub_username": "18620023394", "sub_password": "Miniso@123"},
        "18620066457": {"password": "", "shop_name": "名创优品美容个护官方旗舰店", "oms_id": "799", "sub_username": "18620066457", "sub_password": "Miniso@123"},

        # 2025-08-13新加店铺
        "18520188029": {"password": "", "shop_name": "名创优品宠物食品旗舰店", "oms_id": "772","sub_username": "18998408679", "sub_password": "miniso123."},
        "18588524503": {"password": "", "shop_name": "优选家居生活专营店", "oms_id": "826","sub_username": "18998408679", "sub_password": "miniso123."}

    }

    return accounts.get(user).get("sub_username") if accounts.get(user) else None


# 供pdd发票爬虫使用
pdd_invoice_dic = {
    "15218323013": {"oms_id": "413", "customer_id": "60411", "platform_id": "642552514"},
    "19124002423": {"oms_id": "427", "customer_id": "60424", "platform_id": "385375968"},
    "18922401603": {"oms_id": "437", "customer_id": "60439", "platform_id": "807295574"},
    "18922401416": {"oms_id": "450", "customer_id": "60453", "platform_id": "524321545"},
    "19927489542": {"oms_id": "618", "customer_id": "60649", "platform_id": "165110952"},
    "19128973691": {"oms_id": "651", "customer_id": "60692", "platform_id": "464270859"},
    "17620087802": {"oms_id": "005", "customer_id": "60190", "platform_id": "2232844"},
    "18152760593": {"oms_id": "029", "customer_id": "", "platform_id": "148243488"},
    # "18588992245": {"oms_id": "032", "customer_id": "60199", "platform_id": "593041971"},
    "19157438325": {"oms_id": "033", "customer_id": "60189", "platform_id": "642948268"},
    "13247375044": {"oms_id": "035", "customer_id": "60196", "platform_id": "651161821"},
    "16624712748": {"oms_id": "036", "customer_id": "60191", "platform_id": "397940642"},
    "13242824685": {"oms_id": "037", "customer_id": "60187", "platform_id": "998659644"},
    "18903076344": {"oms_id": "049", "customer_id": "60195", "platform_id": "766256174"},
    "13265112541": {"oms_id": "068", "customer_id": "60194", "platform_id": "847954289"},
    "18127936720": {"oms_id": "103", "customer_id": "60192", "platform_id": "238547070"},
    "13246804501": {"oms_id": "152", "customer_id": "60188", "platform_id": "130677276"},
    "19124658780": {"oms_id": "164", "customer_id": "60197", "platform_id": "508025706"},
    "19124004581": {"oms_id": "200", "customer_id": "", "platform_id": "885920918"},
    "15598862631": {"oms_id": "374", "customer_id": "60389", "platform_id": "767608809"},
    "13189167680": {"oms_id": "420", "customer_id": "60417", "platform_id": "264827592"},
    "18588659750": {"oms_id": "423", "customer_id": "60418", "platform_id": "414042132"},
    "13016049884": {"oms_id": "471", "customer_id": "60474", "platform_id": "175125354"},
    "19925704963": {"oms_id": "482", "customer_id": "60486", "platform_id": "862960414"},
    "18680284350": {"oms_id": "485", "customer_id": "60499", "platform_id": "845306400"},
    "18903074454": {"oms_id": "487", "customer_id": "60501", "platform_id": "613754104"},
    "18664633627": {"oms_id": "495", "customer_id": "60514", "platform_id": "709393471"},
    "18520037484": {"oms_id": "504", "customer_id": "60516", "platform_id": "518933686"},
    "19928434780": {"oms_id": "524", "customer_id": "60538", "platform_id": "185993527"},
    "19928410769": {"oms_id": "525", "customer_id": "60539", "platform_id": "657684151"},
    "18680262439": {"oms_id": "529", "customer_id": "60543", "platform_id": "792655640"},
    "18565196447": {"oms_id": "532", "customer_id": "60546", "platform_id": "698049437"},
    "19928365875": {"oms_id": "533", "customer_id": "60547", "platform_id": "793166666"},
    "19925799404": {"oms_id": "534", "customer_id": "60548", "platform_id": "836894689"},
    "19925744647": {"oms_id": "535", "customer_id": "60549", "platform_id": "423623465"},
    "19924307317": {"oms_id": "536", "customer_id": "60550", "platform_id": "934216541"},
    "19120669641": {"oms_id": "543", "customer_id": "60557", "platform_id": "749756133"},
    "19157453201": {"oms_id": "544", "customer_id": "60558", "platform_id": "711421487"},
    "19124266080": {"oms_id": "545", "customer_id": "60559", "platform_id": "242626382"},
    "19157401141": {"oms_id": "555", "customer_id": "60567", "platform_id": "623001715"},
    "19128263991": {"oms_id": "557", "customer_id": "60569", "platform_id": "162755408"},
    "18620420132": {"oms_id": "558", "customer_id": "60570", "platform_id": "267667398"},
    "19128696070": {"oms_id": "563", "customer_id": "60577", "platform_id": "832481601"},
    "19129281490": {"oms_id": "564", "customer_id": "60578", "platform_id": "228201813"},
    "17325823785": {"oms_id": "582", "customer_id": "60604", "platform_id": "911003626"},
    "19120493520": {"oms_id": "583", "customer_id": "60605", "platform_id": "511611291"},
    "19128639988": {"oms_id": "591", "customer_id": "60617", "platform_id": "972129577"},
    "13535226600": {"oms_id": "592", "customer_id": "60618", "platform_id": "852884085"},
    "16624758775": {"oms_id": "593", "customer_id": "60619", "platform_id": "462612741"},
    "18664798116": {"oms_id": "609", "customer_id": "60631", "platform_id": "483738453"},
    "19124363010": {"oms_id": "610", "customer_id": "60632", "platform_id": "636727773"},
    "19022042263": {"oms_id": "611", "customer_id": "60633", "platform_id": "158719648"},
    "19022005941": {"oms_id": "612", "customer_id": "60635", "platform_id": "678394186"},
    "19022037509": {"oms_id": "613", "customer_id": "60636", "platform_id": "100830404"},
    "19022025415": {"oms_id": "614", "customer_id": "60637", "platform_id": "188659432"},
    "19022028491": {"oms_id": "615", "customer_id": "60638", "platform_id": "442073668"},
    "19022025410": {"oms_id": "616", "customer_id": "60639", "platform_id": "957836109"},
    "19925724043": {"oms_id": "619", "customer_id": "60650", "platform_id": "620007847"},
    "16626415639": {"oms_id": "640", "customer_id": "60676", "platform_id": "897380011"},
    "19128913120": {"oms_id": "641", "customer_id": "60683", "platform_id": "237628763"},
    "19157445594": {"oms_id": "642", "customer_id": "60688", "platform_id": "962684217"},
    "19157447847": {"oms_id": "643", "customer_id": "60687", "platform_id": "862413630"},
    "19124271210": {"oms_id": "644", "customer_id": "60686", "platform_id": "470715879"},
    "19157464232": {"oms_id": "645", "customer_id": "60685", "platform_id": "497302038"},
    "19157483649": {"oms_id": "646", "customer_id": "60684", "platform_id": "857945589"},
    "19124008311": {"oms_id": "647", "customer_id": "60689", "platform_id": "659801604"},
    "19157462784": {"oms_id": "655", "customer_id": "60696", "platform_id": "816622169"},
    "19157404983": {"oms_id": "658", "customer_id": "60699", "platform_id": "938112645"},
    "18594986760": {"oms_id": "684", "customer_id": "60709", "platform_id": "350383302"},
    "18680276544": {"oms_id": "685", "customer_id": "60710", "platform_id": "389173015"},
    "18588572846": {"oms_id": "687", "customer_id": "60712", "platform_id": "500525150"},
    "18665068095": {"oms_id": "688", "customer_id": "60713", "platform_id": "283797333"},
    "18578673162": {"oms_id": "689", "customer_id": "60714", "platform_id": "749154936"},
    "18565077087": {"oms_id": "690", "customer_id": "60715", "platform_id": "865454148"},
    "18676623614": {"oms_id": "691", "customer_id": "60716", "platform_id": "375454009"},
    "18620148779": {"oms_id": "692", "customer_id": "60717", "platform_id": "992966769"},
    "13128693938": {"oms_id": "695", "customer_id": "60730", "platform_id": "262585583"},
    "18594078063": {"oms_id": "696", "customer_id": "60731", "platform_id": "933197756"},
    "13143763861": {"oms_id": "706", "customer_id": "60740", "platform_id": "940326173"},
    "13119580942": {"oms_id": "707", "customer_id": "60741", "platform_id": "931926792"},
    "13244808441": {"oms_id": "708", "customer_id": "60742", "platform_id": "728153641"},
    "14767856426": {"oms_id": "715", "customer_id": "60749", "platform_id": "913385879"},
    "13660882900": {"oms_id": "718", "customer_id": "60760", "platform_id": "321063653"},
    "13435007842": {"oms_id": "719", "customer_id": "60761", "platform_id": "448424355"},
    "15876766805": {"oms_id": "721", "customer_id": "60765", "platform_id": "660604815"},
    "13538869720": {"oms_id": "722", "customer_id": "60766", "platform_id": "870550063"},

    # 20250312 新增4个店铺
    "18675873547": {"oms_id": "725", "customer_id": "60769", "platform_id": "549975456"},
    "18529357768": {"oms_id": "726", "customer_id": "60770", "platform_id": "954685644"},
    "13160839428": {"oms_id": "727", "customer_id": "60771", "platform_id": "763247160"},
    "17620869465": {"oms_id": "732", "customer_id": "60775", "platform_id": "137980631"},

    # 20250317新增9个店铺
    "15913176994": {"oms_id": "746", "customer_id": "60793", "platform_id": "765402921"},
    "15913190761": {"oms_id": "745", "customer_id": "60792", "platform_id": "599361655"},
    "15913192934": {"oms_id": "744", "customer_id": "60791", "platform_id": "836033503"},
    "15913193274": {"oms_id": "743", "customer_id": "60790", "platform_id": "724364153"},
    "15913192647": {"oms_id": "742", "customer_id": "60789", "platform_id": "408569609"},
    "15913196285": {"oms_id": "741", "customer_id": "60788", "platform_id": "375464553"},
    "15913196820": {"oms_id": "740", "customer_id": "60787", "platform_id": "355251743"},
    "15913196652": {"oms_id": "739", "customer_id": "60786", "platform_id": "774430509"},
    "15913197041": {"oms_id": "738", "customer_id": "60785", "platform_id": "187539891"},

    # 20250403新增1个店铺
    "18529468852": {"oms_id": "694", "customer_id": "60729", "platform_id": "890433585"},

    # 20250430新增8个店铺
    "18620867697": {"oms_id": "754", "customer_id": "60803", "platform_id": "322133068"},
    "18588992245": {"oms_id": "756", "customer_id": "60805", "platform_id": "190322750"},
    "15913156454": {"oms_id": "757", "customer_id": "60807", "platform_id": "118543118"},
    "15913198048": {"oms_id": "760", "customer_id": "60810", "platform_id": "725904670"},
    "15913180593": {"oms_id": "761", "customer_id": "60811", "platform_id": "939557389"},
    "19700163931": {"oms_id": "762", "customer_id": "60812", "platform_id": "905009038"},
    "15913189057": {"oms_id": "763", "customer_id": "60813", "platform_id": "444706196"},
    "15913194417": {"oms_id": "764", "customer_id": "60814", "platform_id": "650574482"},

    # 20250522新增3个店铺
    "18588524926": {"oms_id": "748", "customer_id": "60796", "platform_id": "596593995"},
    "18620868053": {"oms_id": "769", "customer_id": "60819", "platform_id": "114462262"},
    "18620869287": {"oms_id": "770", "customer_id": "60820", "platform_id": "312758110"},

    # 20250630新增13个店铺
    "18620828152": {"oms_id": "771", "customer_id": "60821", "platform_id": "412170837"},
    "18520074471": {"oms_id": "789", "customer_id": "60844", "platform_id": "629587235"},
    "18520034995": {"oms_id": "788", "customer_id": "60843", "platform_id": "435063185"},
    "18520044863": {"oms_id": "787", "customer_id": "60842", "platform_id": "378581661"},
    "18520056434": {"oms_id": "786", "customer_id": "60841", "platform_id": "345657233"},
    "18520039854": {"oms_id": "785", "customer_id": "60840", "platform_id": "185903156"},
    "18520077084": {"oms_id": "801", "customer_id": "60852", "platform_id": "726118269"},
    "18520043292": {"oms_id": "802", "customer_id": "60853", "platform_id": "502983881"},
    "18520035347": {"oms_id": "803", "customer_id": "60854", "platform_id": "700527606"},
    "15913194437": {"oms_id": "805", "customer_id": "60859", "platform_id": "175442808"},
    "15913194350": {"oms_id": "806", "customer_id": "60858", "platform_id": "989268990"},
    "15913186352": {"oms_id": "807", "customer_id": "60857", "platform_id": "777875022"},
    "15913193861": {"oms_id": "808", "customer_id": "60856", "platform_id": "222651683"},

    "15913194853": {"oms_id": "818", "customer_id": "60872", "platform_id": "534190638"},
    "15913194292": {"oms_id": "819", "customer_id": "60869", "platform_id": "575117049"},

    # 2025.7.25新增2个店铺
    "18620023394": {"oms_id": "798", "customer_id": "60850", "platform_id": "472584884"},
    "18620066457": {"oms_id": "799", "customer_id": "60855", "platform_id": "899637220"},

    # 2025.8.13新增2个店铺
    "18520188029": {"oms_id": "772", "customer_id": "60822", "platform_id": "964938019"},
    "18588524503": {"oms_id": "826", "customer_id": "60889", "platform_id": "414111946"},
}

business_type_dict = {
    0: "增值税专用发票",
    1: "纸质增值税普通发票",
    2: "电子增值税普通发票",
    3: "形式发票",
    4: "数电票（增值税专用发票）",
    5: "数电票（普通发票）"
}



